package Array.mOop;

public class phone1 {
    public static void main(String[] args){
        //类名 对象名 = new 类名();
        phone sum = new phone();
        //对象名.变量名
        sum.brand="华为";
        sum.prioe=10000;
        System.out.println(sum.brand);
        System.out.println(sum.prioe);
        //对象名.方法名();
        sum.call("豪儿");
        sum.sendMessage("林鸡巴");
    }
}
